<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<?
echo "There is php code in the template of smarty";
for($i=1 ; $i<=3; $i++){
echo "but it's better to avoid php code in your case!";
}
?>
</body>
</html>